<!-- 日志管理 -->
<div class="bg-light lter b-b wrapper-md">
    <h1 class="m-n font-thin h3" translate="log.moduleName"></h1>
</div>
<!-- 主页面 -->
<div class="wrapper-md " ng-controller="LogCtrl">
    <div class="panel panel-default">
        <!--面板标题-->
        <div class="panel-heading font-bold" translate="log.panelName"></div>
        <!--操作栏-->
        <div class="panel-neck row">
            <form class="form-inline col-md-12" role="form">
                <!--搜索类型-->
                 <div class="form-group">
                    <input  name="name" class="form-control input-sm"
                           name="account" id="account"
                           ng-model="vm.query.keyword"
                           maxlength="32"
                           placeholder="{{'log.operator' | translate}}"/>
                </div>
               <!--  <div class="form-group">
                    <select class="form-control input-sm" id="searchType" ng-model="vm.query.searchType">
                        <option value="account" translate="log.operator"></option>
                    </select>
                </div>
                搜索文本
                <div class="form-group">
                    <input type="search" class="form-control input-sm" name="keyword" ng-model="vm.query.keyword"
                           placeholder="{{'common.keyword' | translate}}">
                </div> -->
                <!--选择模块-->
                <div class="form-group">
                    <select class="form-control input-sm" name="unitId"
                            ng-model="vm.query.moduleId">
                        <option value="">-{{'log.operationModule' | translate}}-</option>
                        <option value="{{module.modelId}}" ng-repeat="module in vm.modules">{{module.modelName |
                            translate}}
                        </option>
                    </select>
                </div>
                <!--开始时间-->
                <div class="form-group">
                    <div class="input-group">
                        <input type="text" required class="form-control input-sm" uib-datepicker-popup="yyyy-MM-dd"
                               datepicker-options="app.dateOptions" ng-model="vm.query.beginTime" name="start"
                               is-open="popup1.opened" readonly="readonly"
                               placeholder="{{'common.beginTime' | translate}}"/>
                        <span class="input-group-btn">
							<button type="button" class="btn btn-default  btn-sm" ng-click="open1()">
								<i class="glyphicon glyphicon-calendar"></i>
							</button>
					    </span>
                    </div>
                </div>
                <!--结束时间-->
                <div class="form-group">
                    <div class="input-group">
                        <input type="text" required class="form-control input-sm"
                               uib-datepicker-popup="yyyy-MM-dd" datepicker-options="app.dateOptions"
                               ng-model="vm.query.endTime" name="endTime"
                               is-open="popup2.opened" readonly="readonly"
                               placeholder="{{'common.endTime' | translate}}"/>
                        <span class="input-group-btn">
							<button type="button" class="btn btn-default  btn-sm" ng-click="open2()"><i
                                    class="glyphicon glyphicon-calendar"></i></button>
					    </span>
                    </div>
                </div>
                <div class="form-group pull-right">
                    <button class="btn btn-sm btn-primary" ng-click="vm.search()">
                        <i class="fa fa-search"></i> {{'common.search'|translate}}
                    </button>
                    <button class="btn btn-sm btn-default" ng-click="vm.reset()">
                        <i class="fa fa-refresh"></i> {{'common.reset' | translate}}
                    </button>
                </div>
            </form>
        </div>
        <div class="b-b"></div>
        <!--面板主体-->
        <div class="panel-body">
            <table id="flexiGrid" iss-flexigrid="vm.options" flexigrid-control="vm.flexigridObj" class=""></table>
        </div>
    </div>
</div>
</div>

